---
# Cop supports --autocorrect.
Rails/RedundantForeignKey:
  Exclude:
    - 'app/models/alert_management/metric_image.rb'
    - 'app/models/ci/build.rb'
    - 'app/models/ci/build_need.rb'
    - 'app/models/ci/build_pending_state.rb'
    - 'app/models/ci/build_trace_chunk.rb'
    - 'app/models/ci/daily_build_group_report_result.rb'
    - 'app/models/ci/job_artifact.rb'
    - 'app/models/ci/job_variable.rb'
    - 'app/models/ci/pipeline.rb'
    - 'app/models/ci/sources/pipeline.rb'
    - 'app/models/ci/stage.rb'
    - 'app/models/ci/unit_test_failure.rb'
    - 'app/models/clusters/concerns/application_core.rb'
    - 'app/models/clusters/integrations/prometheus.rb'
    - 'app/models/commit_signatures/x509_commit_signature.rb'
    - 'app/models/concerns/commit_signature.rb'
    - 'app/models/concerns/integrations/base_data_fields.rb'
    - 'app/models/group.rb'
    - 'app/models/group_group_link.rb'
    - 'app/models/incident_management/timeline_event.rb'
    - 'app/models/issue.rb'
    - 'app/models/member.rb'
    - 'app/models/merge_request.rb'
    - 'app/models/merge_request/metrics.rb'
    - 'app/models/namespace.rb'
    - 'app/models/packages/debian/publication.rb'
    - 'app/models/project.rb'
    - 'app/models/resource_state_event.rb'
    - 'app/models/review.rb'
    - 'app/models/time_tracking/timelog_category.rb'
    - 'app/models/user.rb'
    - 'app/models/users/phone_number_validation.rb'
    - 'app/models/work_item.rb'
    - 'app/models/x509_certificate.rb'
    - 'ee/app/models/allowed_email_domain.rb'
    - 'ee/app/models/boards/epic_board.rb'
    - 'ee/app/models/boards/epic_list_user_preference.rb'
    - 'ee/app/models/ci/sources/project.rb'
    - 'ee/app/models/concerns/incident_management/base_pending_escalation.rb'
    - 'ee/app/models/deployments/approval.rb'
    - 'ee/app/models/ee/service_desk_setting.rb'
    - 'ee/app/models/geo/event_log.rb'
    - 'ee/app/models/incident_management/escalation_rule.rb'
    - 'ee/app/models/incident_management/oncall_participant.rb'
    - 'ee/app/models/incident_management/oncall_shift.rb'
    - 'ee/app/models/incident_management/pending_escalations/alert.rb'
    - 'ee/app/models/incident_management/pending_escalations/issue.rb'
    - 'ee/app/models/issuable_metric_image.rb'
    - 'ee/app/models/iteration.rb'
    - 'ee/app/models/security/orchestration_policy_configuration.rb'
    - 'ee/app/models/security/orchestration_policy_rule_schedule.rb'
    - 'ee/app/models/vulnerabilities/feedback.rb'
    - 'ee/app/models/vulnerabilities/finding.rb'
    - 'ee/app/models/vulnerabilities/finding_signature.rb'
    - 'ee/app/models/vulnerabilities/identifier.rb'
